import { pushDatas } from "./PushDataConfigs";

cc.Class({
    extends: cc.Component,

    properties: {
        pfbItem: cc.Prefab,
        nodContent:cc.Node,
    },

    onLoad() {
        for (let i = 0; i < pushDatas.length; i++) {
            let node = cc.instantiate(this.pfbItem);
            node.parent = this.nodContent;
            node.getComponent('ItemPush3').init(pushDatas[i]);
        }
    },

    start() {
        
    },

    // update (dt) {},
});
